#pragma once

#include "Program.h"
#include "Language.h"
#include <xmllite.h>
#include <list>
#include <map>

using namespace std;

class CProject
{
public:
	CProject();
	CProject (CString fileName);
	~CProject();

	list<CString> getFileNames(const CString &shipName);
	void NewFile(const CString &shipName, const CString &fileName);
	void setProjectFileName(const CString &fileName);
	void setProjectName(const CString &fileName);
	CString getProjectFileName();
	CString getProjectName();
	bool NewProject();
	bool OpenProject();

protected:
	list<CLanguage> m_Languages;
	CString m_ProjectFile;
	CString m_ProjectName;
	map<CString, CLanguage> m_ShipFiles;
};